//
//  JYShopCell.h
//  JYFarm
//
//  Created by 花花 on 2017/10/16.
//  Copyright © 2017年 花花. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JYShopModel.h"
#import "JYShopDepositView.h"
@interface JYShopCell : UITableViewCell

@property(strong, nonatomic)JYShopModel *model;
@property (weak, nonatomic) IBOutlet UIButton *selBtn;
@property (weak, nonatomic) IBOutlet UIImageView *imgView;

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;

@property (weak, nonatomic) IBOutlet UILabel *oldPriceLabel;

@property (weak, nonatomic) IBOutlet UIButton *minBtn;

@property (weak, nonatomic) IBOutlet UIButton *maxBtn;

@property (weak, nonatomic) IBOutlet UILabel *count;

@property (weak, nonatomic) IBOutlet UITextField *explainTextField;
@property (weak, nonatomic) IBOutlet UIView *bottomView;

@property (weak, nonatomic) IBOutlet UIView *bordView;

@property (weak, nonatomic) IBOutlet UIView *middleView;


@property(nonatomic)JYShopDepositView *depositView;

@property (weak, nonatomic) IBOutlet UILabel *unitLabel;

//是否选中
@property (nonatomic, copy) void (^selectBtnClick)(BOOL isSelecteds);


@property(nonatomic,copy)void(^joinShopCarAninationBlock)(UIImageView *iimageView, NSIndexPath *indexPath);
//count的数量
@property (nonatomic, copy) void(^shopcartCountEditBlock)(NSInteger count,UIImageView *goodImage);

//productStock 总量
- (void)configureShopcartCountWithProductCount:(NSInteger)productCount productStock:(NSInteger)productStock;

@end
